package com.spring.boot;

import com.spring.core.env.Environment;

import java.io.PrintStream;

/**
 * @author liyuncong
 * @version 1.0
 * @file Banner
 * @brief Banner
 * @details Banner
 * @date 2023-01-12
 *
 * Edit History
 * ----------------------------------------------------------------------------
 * DATE                        NAME               DESCRIPTION
 * 2023-01-12                  liyuncong          Created
 */
@FunctionalInterface
public interface Banner {

    void printBanner(Environment environment, Class<?> sourceClass, PrintStream out);

    enum Mode {
        OFF,
        CONSOLE,
        LOG
    }
}
